/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Controller;

import Common.Item;
import Model.DAO;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author satkins
 */
public class POSController {

    private DAO dao;

    public POSController(){
        dao = new DAO();
    }

    public boolean LogIn(String customer, String password){
        return dao.CustomerLogIn(customer, password);
    }

    public ArrayList<Item> getItems(){
        ArrayList<Item> items = null;
        
        items = dao.getItems();

        return items;
    }
}
